package com.framework.loippi.dao;

import com.framework.loippi.entity.Patient;
import com.framework.loippi.mybatis.dao.GenericDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * DAO - Patient(患者表)
 *
 * @author wmj
 * @version 2.0
 */
public interface PatientDao extends GenericDao<Patient, Long> {
    List<Patient> findListByPage(Object parameter);

    Long deletes(Object parameter);

    List<Patient> findAllByUserId(Integer userId);

    Patient getPatientByImUserId(Long imUserId);
}
